#include<iostream>
#include<stdio.h> 
#include<stdlib.h>
#include<string.h>
#include<cmath>
#include<algorithm>
using namespace std;

char map[33]={'Q','W','E','R','T','Y','U','I','O','P','[',']','A','S','D','F','G','H','J','K','L',';','Z','X','C','V','B','N','M',',','.','/'};
int main()
{
    char s[10000];
    while( gets(s) ){
    for(int i=0;i<strlen(s);i++)
    {
        if(s[i]==' ') cout<<" ";
        else  for(int j=0;j<strlen(map);j++){
                 if( s[i]==map[j] )   cout<<map[j-1];
              }
    }
    }
    //system("pause");
    return 0;
}
